﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListOutStorageByVen.aspx.cs" Inherits="lcs.Web.Outstorage.ListOutStorageByVen" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>出库</title>
    <link href="/style.css" type="text/css" rel="stylesheet" />
     <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/JsTools.js" type="text/javascript"></script>
    <style type="text/css">
        td { font-size: 9pt}
        a { color:Blue; text-decoration: none}
        body{ font-size:9pt;}
     </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
     <div style=" text-align:left; margin:10px;">
         <b>申请出库数量：<asp:Label ID="lbl_mustCount" runat="server"></asp:Label>
         ,已出库数量：<asp:Label ID="lbl_alreadyCount" runat="server"></asp:Label>
         ,未出库数量：<asp:Label ID="lbl_notCount" runat="server"></asp:Label>
         <asp:Label ID="lbl_mid" runat="server" Visible="False"></asp:Label>
         <asp:Label ID="lbl_out_storageList_id" runat="server" Visible="False"></asp:Label>
    </b>
    </div>
   
    <div style=" margin:10px;">
        
        <b>到货地点：<asp:Label ID="lbl_receive_address" runat="server"></asp:Label>
         ，接收人：<asp:Label ID="lbl_receive_userName" runat="server"></asp:Label>
         ，接收人电话：<asp:Label ID="lbl_receive_userPhone" runat="server"></asp:Label>
    </b>
        
    </div>
      <div style=" margin:10px;">
     <b>
     目的项目：<asp:Label ID="lbl_targetProjectText" 
              runat="server"></asp:Label>
          <asp:Label ID="lbl_targetProject" runat="server" Visible="False"></asp:Label>
    </b>
     </div>
        <div style=" margin:10px;">
            <b>备注：<asp:TextBox ID="txt_remark" runat="server" Width="450px"></asp:TextBox></b>
        </div>
    <div style=" text-align:center">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            Width="1600px" onrowcommand="GridView1_RowCommand" AllowPaging="True" 
            onpageindexchanging="GridView1_PageIndexChanging" PageSize="20" 
            onrowdatabound="GridView1_RowDataBound">
            <Columns>
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <asp:LinkButton ID="lbn_out" runat="server" 
                            CommandArgument='<%# Bind("inid") %>' CommandName="lbn_out">出库</asp:LinkButton>
                        <asp:Label ID="lbl_spid" runat="server" Text='<%# Bind("spid") %>' 
                            Visible="False"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="出库数量">
                    <ItemTemplate>
                        <asp:TextBox ID="txt_out_storage_count" runat="server" Width="50px"></asp:TextBox>
                        <br />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="出库时间">
                    <ItemTemplate>
                        <asp:TextBox ID="txt_out_storage_Time" runat="server" Width="100px" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="spname" HeaderText="仓位" />
                <asp:BoundField DataField="sname" HeaderText="仓库" />
                <asp:BoundField DataField="material" HeaderText="物料描述" />
                <asp:TemplateField HeaderText="库存">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("nums") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lbl_venNums" runat="server" Text='<%# Bind("nums") %>'></asp:Label>
                        
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="unit" HeaderText="计量单位" />
                <asp:TemplateField HeaderText="项目编号">
                    <ItemTemplate>
                        <asp:Label ID="lbl_proid" runat="server" Text='<%# Bind("proid") %>'></asp:Label>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("proid") %>'></asp:TextBox>
                    </EditItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="projectname" HeaderText="项目名称" />
                <asp:BoundField DataField="mbm" HeaderText="物料编码" />
                <asp:BoundField DataField="usework" HeaderText="需用单位" />
            </Columns>
            <PagerStyle CssClass="mypager" />
        </asp:GridView>
    </div>
    <div style=" margin-top:10px; text-align :center;">
    </div>
    </div>
    </form>
</body>
</html>
